package library.gui.component;

import javafx.geometry.Pos;
import javafx.scene.control.Label;
import javafx.scene.text.Font;

public class TitleLabel extends Label {
	private static final Font FONT = new Font("BOLD", 30);
	public TitleLabel(String str) {
		super(str);
		this.setFont(FONT);
		this.setAlignment(Pos.CENTER);
//		this.prefWidthProperty().bind(region.widthProperty());
//		this.prefHeightProperty().set(100);
	}
	public void setSize(int size) {
		this.setFont(new Font("BOLD", size));
	}
}
